package cn.zt.service.impl;

import cn.zt.common.Result;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.zt.domain.TUser;
import cn.zt.service.TUserService;
import cn.zt.mapper.TUserMapper;
import org.springframework.stereotype.Service;

/**
* @author asus
* @description 针对表【t_user(用户表)】的数据库操作Service实现
* @createDate 2024-09-05 20:46:37
*/
@Service
public class TUserServiceImpl extends ServiceImpl<TUserMapper, TUser>
    implements TUserService{

    @Override
    public Result selectById(Integer id) {
        TUser byId = this.getById(id);
        return Result.success(byId);
    }
}




